package com.neuedu.ylbx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name="DiseaseInfo对象")
public class DiseaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "疾病编码")
    private String diseaseCode;

    @Schema(description = "疾病名称")
    private String diseaseName;

    @Schema(description = "国际疾病 ICD 编码")
    private String diseaseICD;

    @Schema(description = "疾病类型")
    private String diseaseCategory;

    @Schema(description = "入院诊断")
    private DiseaseInfo admissionDiagnosis;

    @Schema(description = "主要诊断")
    private DiseaseInfo mainDiagnosis;

    @Schema(description = "其他诊断")
    private DiseaseInfo otherDiagnosis;
    // Getters and Setters
}